<style>
    body{
        overflow-y: auto;
    }
    .view-more, #bt_app_stats_overview{
        float: right;
        line-height: 10px;
        height: 24px;
        margin: -3px 10px 0 0;
    }
    .smart-widget-hidden-section > ul > li {
        float: left;
        width:160px;
        margin-right: 5px;
        white-space: nowrap;
        padding-left: 5px;
        background-color: #e4e4e4;
    }
</style>
{% if targets is defined %}
    <div class="row">
    {% for target,item in targets  %}
            {% if target =="carState" %}
                    <div class="col-md-8">
                {% else %}
                    <div class="col-md-4">
            {% endif %}
                <div class="smart-widget">
                    <div class="smart-widget-header">
                        <strong>{{ item['title'] }}</strong>
                        <a class="btn btn-info btn-sm view-more" href="{{ item['url']~'/true' }}">更多</a>
                    </div>
                    <div class="smart-widget-inner">
                        <div class="smart-widget-body" style="padding-left: 20px;">
                            <iframe src="{{ item['url'] }}" frameborder="0" style="width: 100%;height: 300px;"></iframe>
                        </div>
                    </div>
                </div>
            </div>
    {% endfor %}
    </div>
{% endif %}